{if condition="$news.banner neq null"}
<!-- 广告图 -->
<div class="container-fluid bd">
    <div class="row">
        <div class="logo col-xs-12 col-sm-12 col-md-12">
            <a href="{$news.banner.link_url}">
                <img src="{$news.banner.img_url}" alt="" class="img-responsive">
            </a>
        </div>
    </div>
</div>
{/if}

<!-- 第二导航栏 -->
<div class="ernav">
    <ul class="navul">
        <li><a href="{:url('index/News/index')}">全部新闻</a></li>
        {foreach $news.sub as $sub}
        <li><a href="{:url('index/News/index')}/newType/{$sub.nid}">{$sub.nname}</a></li>
        {/foreach}
    </ul>
    <div class="clear"></div>
</div>

<!-- 列表标题 -->
<div class="title">
    <div class="content">
        <div class="place">
            <p>所在位置：&nbsp; 首页 - 资讯</p>
        </div>
    </div>
</div>

<!-- 核心内容 -->
<div class="main main_news">
    <div class="content">

        <!-- 饰标题 -->
        <div class="show">
            <h1>新闻展示</h1>
        </div>

        <!-- 卡片内容 -->
        <div class="row">
            {foreach $news.news as $new}
            <div class="box1 col-sm-6 col-md-6 col-lg-6">
                <h3><span>{$new.pubtime|date="d",###} </span>{$new.pubtime|date="Y-d",###}</h3>
                <a href="{:url('index/News/newsDetail')}/mid/{$new.mid}">
                    <img src="{$new.img_url}" style="width:458px;height:256px;" alt="" class="img-responsive"></a>
                <div class="text" style="width:448px;height:143px;overflow: hidden;">
                    <h6>{$new.title}</h6>
                    <p style="height:48px;">
                        {$new.content|mb_substr=0,60}...
                    </p>
                </div>
            </div>
            {/foreach}
        </div>

        <!-- 分页 -->
        <nav aria-label="Page navigation" class="fenye">
            <!-- <ul class="pagination pagination-sm pages">
                    <li class="disabled">
                        <a href="#" aria-label="Previous" style=" width: 75px;">
                            <span aria-hidden="true">上一页</span>
                        </a>
                    </li>
                    <li><a href="#" style="color:#ffffff; background-color:#ff0000;border:1px solid #ffffff">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li>
                        <a href="#" aria-label="Next" style=" width: 75px;
                        color:#5a5a5a">
                            <span aria-hidden="true">下一页</span>
                        </a>
                    </li>
                </ul> -->
            {$news.page}
        </nav>



    </div>
    <img src="__DOMAIN__/__IMG__/top.png" alt="" class="gun">
</div>